package hottargui.view;

import hottargui.framework.*;

import java.awt.event.MouseEvent;

import minidraw.framework.DrawingEditor;
import minidraw.standard.*;

public class NewGameTool extends AbstractTool 
{
	Game game;

	public NewGameTool(DrawingEditor editor, Game game) {
		super(editor);
		this.game = game;
	}

	public void mouseDown(MouseEvent evt, int x, int y) {
		game.newGame();
	}
}
